package ace.tool.generate.code.impl.resolver.model;

import ace.cmp.data.api.annotation.Index;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/11/17 10:27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TemplateModel {
  private Class entityClass;

  /**
   * 模型名称
   */
  private String name;

  /**
   * 模型备注
   */
  private String remark;

  /**
   * 模型字段
   */
  private List<TemplateModelField> fields;

  /**
   * 索引
   */
  private List<Index> indexes;
}
